class GameLayer extends eui.UILayer{
	/**scene layer */
	public sceneLayer:eui.UILayer;
	/**panel layer */
	public panelLayer:eui.UILayer;
	/**top layer */
	public topLayer:eui.UILayer;
	/**tip layer */
	public tipLayer:eui.UILayer;

	public static _instance:GameLayer;
	public constructor() {
		super();
		this.sceneLayer=new eui.UILayer();
		this.sceneLayer.touchThrough=true;
		this.addChild(this.sceneLayer);

		this.panelLayer=new eui.UILayer();
		this.panelLayer.touchThrough=true;
		this.addChild(this.panelLayer);

		this.topLayer=new eui.UILayer();
		this.topLayer.touchThrough=true;
		this.addChild(this.topLayer);

		this.tipLayer=new eui.UILayer();
		this.tipLayer.touchThrough=true;
		this.addChild(this.tipLayer);
	}

	public static getInstance():GameLayer{
		if(!this._instance){
			this._instance=new GameLayer();
		}
		return this._instance;
	}
}